KS
Killer-Skills

Android Dependency Injection (Hilt) — Android Dependency Injection (Hilt) setup guide Android Dependency Injection (Hilt) setup guide, how to use Hilt in Android, what is Android Dependency Injection (Hilt), Hilt vs Dagger, Android Dependency Injection (Hilt) alternative, installing Android Dependency Injection (Hilt)

v1.0.0
GitHub

About this Skill

Ideal for Mobile Agents focusing on Android app development needing structured dependency injection with Hilt Android Dependency Injection (Hilt) is a framework for managing dependencies in Android applications, utilizing annotations like @HiltAndroidApp and @AndroidEntryPoint.

Features

Annotates Application class with @HiltAndroidApp for setup
Uses @AndroidEntryPoint for activities and fragments
Prefers @Binds over @Provides for binding modules
Utilizes @InstallIn for explicit component installation
Supports constructor injection over field injection

# Core Topics

HoangNguyen0403 HoangNguyen0403
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
23
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add HoangNguyen0403/agent-skills-standard/Android Dependency Injection (Hilt)

Agent Capability Analysis

The Android Dependency Injection (Hilt) MCP Server by HoangNguyen0403 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for Android Dependency Injection (Hilt) setup guide, how to use Hilt in Android, what is Android Dependency Injection (Hilt).

Ideal Agent Persona

Ideal for Mobile Agents focusing on Android app development needing structured dependency injection with Hilt

Core Value

Empowers agents to implement modular and testable Android applications using Hilt's @HiltAndroidApp, @AndroidEntryPoint, and @Binds annotations, streamlining dependency management with SingletonComponent and ViewModelComponent

Capabilities Granted for Android Dependency Injection (Hilt) MCP Server

Implementing constructor injection for Android components
Managing dependencies across Activities and Fragments
Creating modular and reusable code with Hilt modules

! Prerequisites & Limits

  • Requires Android development environment
  • Hilt-specific annotations and setup
Project
SKILL.md
846 B
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Android Dependency Injection (Hilt)

Priority: P0

Implementation Guidelines

Setup

  • App: Must annotate Application class with @HiltAndroidApp.
  • Entries: Annotate Activities/Fragments with @AndroidEntryPoint.

Modules

  • Binding: Use @Binds (abstract class) over @Provides when possible (smaller generated code).
  • InstallIn: Be explicit (SingletonComponent, ViewModelComponent).

Construction

  • Constructor Injection: Prefer over Field Injection (@Inject constructor(...)).
  • Assisted Injection: Use for runtime parameters (@AssistedInject).

Anti-Patterns

  • Component Manual Creation: **No Manual Dagger**: Use Hilt Standard.
  • Field Inject in Logic: **No Field Inject**: Only in Android Components.

References

Related Skills

Looking for an alternative to Android Dependency Injection (Hilt) or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication